stop database_reports/count_users_who_own_specified_gear.js crashing when user doesn't have expected object

Fixes this, probably: https://github.com/HabitRPG/habitrpg/pull/3960#issuecomment-54225514