amifb: check fb_alloc_cmap return value and handle failure properly