linux: refactor usage_page and numbered report extraction

so both use the same code for parsing the report descriptor