frontend: prevent unboxing of integer in AsyncDataProvider

It solves 2 findbugs warnings of type BX_UNBOXING_IMMEDIATELY_REBOXED

Change-Id: I8c673f3afddb48b9982d3448f3603002e7a8cf6f
Signed-off-by: Alissa Bonas <abonas@redhat.com>