Bristol City striker Brett Pitman has joined his former club Bournemouth on loan with a view to making the move permanent in January.