RGIII thanks Shanahan after news of firing