Hosmer frustrated with Royals’ lack of offense, wins