Randomness quantification for quantum random number generation based on detection of amplified spontaneous emission noise