UHECR acceleration at GRB internal shocks