R/calculate_intensity.R: corrected a bug in parseBamFile function that caused warning for incomplete name in data.frame

Signed-off-by: Charles Joly Beauparlant <Charles.Joly-Beauparlant@crchul.ulaval.ca>