The thermal effect of hexagonal boron nitride supports in graphene devices