Photoluminescence line shape of excitons in alloy semiconductors