Add support for MEDIUM CONFIGURATION mode page
Fix wrong cast to uint8_t for inquiry allocation length