use TBM_LOG_E at error case in tbm_surface_internal.c