Bam Margera released from hospital after pneumonia scare