Hull FC front-rower Mark O'Meley has announced his retirement after being ruled out for the remainder of the season.