Jack Black and Shirley MacLaine bond over 'Bernie'