An upcoming film written by David Walliams has cut an acting cameo from the British comedian from the finished feature.