libsframe: bfd: use uint32_t for return type of sframe_calc_fre_type