target: remove unused function target_buffer_get_u8()