Effect of transmission through fiber gratings on semiconductor laser intensity noise