logging: Simplify function to get number of log backends As we subtracting pointers of the same type, it is not necessary cast it to u8_t. This simplify and avoid some MISRA-C violations, e.g rule 11.8. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>