Ailing Thai king cancels appearance for 87th birthday